package cn.com.sise.dao;

import cn.com.sise.pojo.Major;

import java.util.List;

public interface MajorDao
{

public int addMajor(Major major);
public List<Major> findAllMajors();
public Major findMajorByMajorId(String majorId);
public int updateMajor(Major major);
public int deleteMajorByMajorId(String majorId);

public int deleteMajorsByIds(String[] ids);

List<Major> findMajorByDeptId(Integer deptId);

};//interface MajorDao
